package com.hill;

public class EqualsMethod {
    public static void main(String[] args) {
        Integer n1= new Integer(45);
        Integer n2= new Integer(45);
        System.out.println(n1==n2);
        System.out.println(n1.equals(n2));
    }
}
